package com.ebelter.ty;



public class AppConfig {

    private AppConfig(){}
    private static AppConfig instance;
    public static AppConfig getInstance() {
        if (instance==null){
         synchronized (AppConfig.class){
             if (instance==null)instance=new AppConfig();
         }
        }
        return instance;
    }




    private boolean isKgModel;//是否kg模式
    public boolean isKgModel() {return isKgModel;}
    public void setKgModel(boolean kgModel) {isKgModel = kgModel;}

    private boolean isGuestModel;
    public boolean isGuestModel() {return isGuestModel;}
    public void setGuestModel(boolean guestModel) {isGuestModel = guestModel;}

    public static final int HEIGHT_MIN = 100;//身高最矮下限
    public static final int HEIGHT_MAX = 220;//身高最高上限

    public static final float KG_MIN = (float) 10.0;
    public static final float KG_MAX = (float) 150.0;

    public static final float LB_MIN = (float) 22.0;
    public static final float LB_MAX = (float) 331.0;


    public static final int countDownBtSecond =  120;//倒计时按钮的秒数


    public final static String DEVICE_MAC = "device_mac";   //sp蓝牙mac地址
    public final static String DEVICE_Name = "device_name"; //sp蓝牙名字









}
